/*按钮*/
.btn {
	display: inline-block;
	box-sizing: border-box;
	cursor: pointer;
	font-size: 14px;
	height: 34px;
	line-height: 32px;
	border-radius: 2px;
	align-self: center;
	padding-left: 8px;
	padding-right: 8px;
	margin-left: 4px;
	margin-right: 4px;
	text-align: center;
}
.btn-link {
	border-radius: 0px;
}
.btn-link.active {
	border-bottom: 3px solid #2794EB;
}
.btn-link:hover {
	border-bottom: 3px solid #2794EB;
}
.btn-normal {
	background: #2794EB;
	color: #fff;
}
.btn-return {
	background: #fff;
	border: 1px solid #bbb;
}
.btn-return:hover {
	border: 1px solid #2794EB;
}
.btn-del {
	background-color: #ed5565;
	color: #fff;
}

/*文本框*/
.label {
	display: block;
	flex-shrink: 0;
	box-sizing: border-box;
	height: 34px;
	line-height: 34px;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 14px;
	outline: none;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	-ms-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	text-overflow: ellipsis;
}
.input-label {
	display: block;
	flex-shrink: 0;
	box-sizing: border-box;
	width: 120px;
	height: 36px;
	line-height: 36px;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 14px;
	outline: none;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	-ms-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	text-overflow: ellipsis;
}
.input, .select {
	display: block;
	height: 36px;
	line-height: 36px;
	border-radius: 2px;
	border: 1px solid #ccc;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 14px;
	outline: none;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	width: 100%;
	background: #FFFFFF;
}
.input-box {
	display: flex;
	line-height: 36px;
	position: relative;
	width: 100%;
}
.add-on {
	margin-left: 0px;
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	line-height: 36px;
	padding-left: 12px;
	padding-right: 12px;
	background-color: #2794eb;
	color: #f0f0f0;
	cursor: pointer;
	text-align: center;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
	z-index: 2;
}
.textarea {
	display: block;
	box-sizing: border-box;
	height: 80px;
	line-height: 21px;
	border-radius: 2px;
	border: 1px solid #ccc;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 14px;
	outline: none;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	width: 100%;
	background: #FFFFFF;
}
.select + i.icon {
	width: 0px;
}
.select + i.icon::before {
	font-family: "FontAwesome";
	content: "\f0d7";
	color: #3D3D3D;
	font-size: 18px;
	font-style: normal;
	position: relative;
	right: 18px;
	width: 0px;
	height: 0px;
	line-height: 36px;
}
.input-date {
	display: inline-block;
	box-sizing: border-box;
	height: 36px;
	line-height: 36px;
	border-radius: 2px;
	border: 1px solid #ccc;
	padding-left: 6px;
	padding-right: 6px;
	font-size: 14px;
	outline: none;
	width: 88px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}
.date-mid {
	padding-left: 4px;
	padding-right: 4px;
	line-height: 34px;
}
.input:focus, .select:focus, .input-date:focus {
	border: 1px solid #2794eb;
}

/*单选*/
.radio {
	display: inline-block;
	height: 36px;
	line-height: 36px;
	padding-right: 8px;
}
.radio input[type="radio"] {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	line-height: 16px;
	position: relative;
	margin: 0px;
	opacity: 0;
	z-index: 1;
	top: 1px;
	left: 3px;
}
.radio .icon {
	line-height: 16px;
	width: 0px;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	margin: 0px;
	height: 14px;
	padding-right: 4px;
}
.radio .icon::before {
	box-sizing: border-box;
	content: "";
	display: inline-block;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 3px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: -20px;
	border: 1px solid #cccccc;
	border-radius: 50%;
	background-color: #fff;
	padding: 0px;
}
.radio .icon::after {
	box-sizing: border-box;
	display: inline-block;
	position: absolute;
	content: " ";
	width: 8px;
	height: 8px;
	left: 7px;
	top: 4px;
	margin-right: 0px;
	margin-left: -20px;
	border-radius: 50%;
}
.radio input[type="radio"]:checked + .icon::after {
	background-color: #2794EB;
}
.radio input[type="radio"]:disabled + label {
	opacity: 0.65;
}
.radio input[type="radio"]:disabled + label::before {
	cursor: not-allowed;
}

/*多选*/
.checkbox {
	display: inline-block;
	height: 36px;
	line-height: 36px;
	padding-right: 8px;
}
.checkbox input[type="checkbox"] {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	line-height: 16px;
	position: relative;
	margin: 0px;
	opacity: 0;
	z-index: 1;
	top: 3px;
	left: 3px;
}
.checkbox .icon {
	line-height: 16px;
	width: 0px;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	margin: 0px;
	height: 14px;
	padding-right: 4px;
}
.checkbox .icon::before {
	box-sizing: border-box;
	content: "";
	display: inline-block;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0;
	margin-left: -18px;
	border: 1px solid #cccccc;
	border-radius: 2px;
	background-color: #fff;
}
.checkbox .icon::after {
	font-weight: normal;
	box-sizing: border-box;
	display: inline-block;
	position: absolute;
	width: 16px;
	height: 16px;
	top: 0px;
	margin-left: -18px;
	padding-top: 0px;
	font-size: 11px;
	color: #555555;
}
.checkbox input[type="checkbox"]:checked + .icon::after {
	font-family: "FontAwesome";
	content: "\f00c";
	color: #2794EB;
}
.checkbox input[type="checkbox"]:disabled + .icon {
	opacity: 0.65;
}
.checkbox input[type="checkbox"]:disabled + .icon::before {
	background-color: #eeeeee;
	cursor: not-allowed;
}

/*人员多选控件*/
.multi-select-box {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 2px;
	padding-right: 40px;
}
.multi-select-box .letter {
	width: 120px;
	border: 0px;
	outline: none;
	padding-left: 8px;
	line-height: 34px;
}
.multi-select-box .letter:focus + label {
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	border: 1px solid #2794eb;
	border-radius: 2px;
}
.multi-select-box .search {
	position: absolute;
	left: -1px;
	margin-top: 35px;
	z-index: 2;
	right: -1px;
	border-radius: 2px;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	border-top: 0px;
}
.multi-select-box .search ul {
	box-sizing: border-box;
	background: #fff;
	padding: 0;
	margin: 0;
}
.multi-select-box .data-list {
	display: flex;
	flex-wrap: wrap;
	z-index: 3;
}
.multi-select-box .data-list a {
	height: 22px;
	line-height: 20px;
	padding-left: 4px;
	padding-right: 2px;
	margin-top: 6px;
	margin-left: 6px;
	margin-right: 0px;
	background: #f0f0f0;
	border-radius: 2px;
	border: 1px solid #ccc;
}
.multi-select-box .data-list .del {
	display: inline-block;
	font-family: FontAwesome;
	width: 20px;
	line-height: 20px;
	padding-left: 4px;
	padding-right: 2px;
	color: #ed5565;
	cursor: pointer;
	text-align:center;
}
.multi-select-box .data-list .del::after {
	font-style: normal;
	content: "\f00d";
}
/*移动端栅格系统调整  */
@media (max-width: 760px) {
	.input-label {
		padding-left: 0px;
		width: 92px;
	}
	.newline {
		flex-wrap: wrap;
	}
}